﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GMLogging;

namespace ThouShaltNotBrick.Models
{
    public sealed class CampaignData
    {
        #region Properties
        public string Name { get; private set; }
        private List<string> mLevels;
        #endregion

        #region Constructors
        public CampaignData(string pName, List<string> pLevels)
        {
            if (pLevels == null)
            {
                Exception e = new ArgumentNullException("pLevels");
                Logger.Error(e.Message);
                throw e;
            }

            Name = pName;
            mLevels = pLevels;
        }
        #endregion

        #region Methods
        public List<string> GetLevels()
        {
            return new List<string>(mLevels);
        }
        #endregion
    }
}